<script src="<?php echo MAIN_URL;?>js/easypaginate.min.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="<?php echo MAIN_URL;?>css/style.css" type="text/css" rel="stylesheet">
<link href="<?php echo MAIN_URL;?>css/paging.css" type="text/css" rel="stylesheet">
<script type="text/javascript">
	
jQuery(function($){
	
	$('ul#items').easyPaginate({
		step:3
	});
	
});    
    
    </script>

<?php require "header.php"; ?>
<body>
<?php require "menu.php"; ?>

            <!--Banner start here-->
            <div class="banner">
                <div class="banner_inner">
                	<img src="<?php echo MAIN_URL;?>images/banner.jpg" alt="">
                </div>
            <!--Banner end here-->    
            </div>
            <!--Content start here-->
            <div class="content">
            	
                <!-- content bottom-->
                <div class="content_bottom mar_top0">
                	<!-- content left -->
                	<div class="content_left">
                    	<h4 class="heading">FAQ</h4>
                        <p class="gray_heading">Java Tutions. Learn to success.</p>
                    	 <?php
 if($questans!=""){
$QuestNo=1; 
echo'<ul id="items">';
foreach ($questans->result() as $row)
            { 
	        
	         echo "<li><p>Que: ".$QuestNo." ".$row->question."</p>";
	         echo "<p>Ans: ".$row->answer."</p></li>";
			 $QuestNo++;
             }
	echo'</ul>';
	  }
      else{
	  echo "Sorry No Question for this Choice<br>Please visit later ";
	  }
	  
	 
?>
                        
                    <!-- end content left -->
                    </div>
                    <!-- content right -->
                    <div class="content_right">
                    	<h4 class="heading">Our best teachers</h4>
                    	<div class="sem">
                        	<img src="<?php echo MAIN_URL;?>images/sem_teach1.png" alt="teacher">
                            <p>Study that improves your Knowledge and Personality </p>
                            <p><strong>Lory bright</strong></p> 
                        </div>
                        <div class="sem last">
                        	<img src="<?php echo MAIN_URL;?>images/sem_teach2.png" alt="teacher">
                            <p>Practical Knowledge is the thing that Industry looks always</p>
                            <p><strong>Lory bright</strong></p> 
                        </div>
                    <!--end content right -->
                    </div>
                    <div class="clear"></div>
                <!--end content bottom -->
                </div>
                
                <div class="clear"></div>
            <!--Content end here-->
           </div>
           
             <?php
			 require "footer.php";
			 ?>
            </body></html>